package com.slipper.common.feign;

import org.springframework.cloud.openfeign.FeignClient;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@FeignClient(
        name = "${external.name:external-service}",
        path = "${external.path:/external-service}",
        configuration = FeignConfiguration.class)
public @interface ExternalClient {
}
